#ifndef CSTATICMESH_H
#define CSTATICMESH_H
#include "KDop/KDop.h"
#include "./Math/Matrix4.h"
#include "./Math/Tuple4.h"

struct CStaticMeshInfoData
{
	Matrix4f		LocalToWorld;
	std::string		StaticMeshName;
	std::string		StaticMeshFilePath;
	Tuple2i			TextureSize;
	Tuple4f			MeshEmitColor;

	CStaticMeshInfoData()
	{
		LocalToWorld.setIdentity();
		MeshEmitColor = Tuple3f(1.0f, 1.0f, 1.0f);
	}
};

class CStaticMesh
{
public:
	Matrix4f				LocalToWorld;
	Tuple4f					MeshEmitColor;
	CKDop*					pInstance;
	std::string				SrcFileName;
	std::string				StaticMeshName;
	bool					CreateFromFile(std::string filename);
public:
	void Init();
	CStaticMesh(void);
	~CStaticMesh(void);
};
#endif
